package srx.open.com.bean;

import cn.bmob.im.bean.BmobChatUser;
import cn.bmob.v3.datatype.BmobGeoPoint;
import cn.bmob.v3.datatype.BmobRelation;

public class User extends BmobChatUser {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 用户发布的课程. 一个用户发布多个不同的课程.
	 */
	private BmobRelation publishss; // 关联
	/**
	 * 用户订阅课程.一个用户订阅多个不同的课程.
	 */
	private BmobRelation subscribess; // 关联.
	private BmobGeoPoint location; // 位置.

	public BmobGeoPoint getLocation() {
		return location;
	}

	public void setLocation(BmobGeoPoint location) {
		this.location = location;
	}

	public BmobRelation getSubscribess() {
		return subscribess;
	}

	public void setSubscribess(BmobRelation subscribess) {
		this.subscribess = subscribess;
	}

	public BmobRelation getPublishss() {
		return publishss;
	}

	public void setPublishss(BmobRelation publishss) {
		this.publishss = publishss;
	}

	@Override
	public String toString() {
		return "username:" + getUsername() + " pass:"
				+ " objectId:" + getObjectId();
	}

}
